package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * 会员账户余额信息
 * Created by Ellis on 26/05/2017.
 */
public class AccountBalanceInfo extends BaseModel<AccountBalanceInfo> {

    /** 账户余额*/
    public String balance_amount;
    /** 账户余额格式化*/
    public String balance_amount_format;
    @Override
    public AccountBalanceInfo parse(JSONObject jsonObject) {
        if(jsonObject != null) {
            balance_amount = jsonObject.optString("balance_amount");
            balance_amount_format = jsonObject.optString("balance_amount_format");
            return this;
        }
        return null;
    }
}
